$OpenBSD: patch-Makefile_in,v 1.1 2015/07/13 00:57:06 stu Exp $
--- Makefile.in.orig	Wed Apr 29 13:44:46 2015
+++ Makefile.in	Wed Apr 29 13:44:59 2015
@@ -47,13 +47,13 @@ module: $(MODULE_NAME)
 doc: doc/dbif.html doc/dbif.n
 
 $(MODULE_NAME): $(PKG_TCL_SOURCES)
-	cp $< $@
+	cp $+ $> $@
 
 doc/dbif.n: $(srcdir)/doc/dbif.man
-	$(DTPLITE) -o $@ nroff $+
+	$(DTPLITE) -o $@ nroff $+ $>
 
 doc/dbif.html: $(srcdir)/doc/dbif.man
-	$(DTPLITE) -o $@ html $+
+	$(DTPLITE) -o $@ html $+ $>
 
 VPATH = $(srcdir)
 
